package com.yang.service.admin;

import com.yang.bean.MarketCategory;
import com.yang.bean.MarketStorage;
import com.yang.bean.common.CommonData;
import com.yang.bean.yvo.Category;
import com.yang.bean.yvo.CategoryListVO;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;


/**
 * @author: 杨庆
 * @since: 2022.9.6 19:03
 * @description:
 */
@Transactional
public interface GoodsCategoryService {

    CommonData selectAll();

    CommonData selectCateList();

    int updateCategory(Category category);

    int deleteCategory(Category category);

    MarketStorage createStorage(MarketStorage marketStorage);

    MarketCategory createCategory(MarketCategory marketCategory);

    MarketStorage fileupload(MultipartFile file) throws IOException;
}
